<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="ibox-content" style="padding-right: 8%">
    <form class="form-horizontal m-t" id="signupForm">
        <input id="id" name="id" th:value="${space.id}" type="hidden">
        <div class="form-group">
            <label class="col-sm-2 control-label">场地名称：</label>
            <div class="col-sm-4">
                <input id="name" name="name" th:value="${space.name}" class="form-control" type="text">
            </div>
            <label class="col-sm-2 control-label">场地位置：</label>
            <div class="col-sm-4">
                <input id="address" name="address" th:value="${space.address}" class="form-control"
                       type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">场地负责人：</label>
            <div class="col-sm-4">
                <input id="headMan" name="headMan" th:value="${space.headMan}" class="form-control"
                       type="text">
            </div>
            <label class="col-sm-2 control-label">联系电话：</label>
            <div class="col-sm-4">
                <input id="phone" name="phone" th:value="${space.phone}" class="form-control"
                       type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">所属养殖户：</label>
            <div class="col-sm-4">
                <sys:dict th:onload="'get:system/sysDept/dict/list?cDeptId='+${session.sysUser.deptId}"
                          th:value="${space.deptId}" valueText="deptId" nameText="name"
                          id="deptId" name="deptId" class="form-control" style=""
                          firstValue="" firstText="请选择养殖户"/>
            </div>
            <label class="col-sm-2 control-label">其他信息：</label>
            <div class="col-sm-4">
                <input id="otherInfo" name="otherInfo" th:value="${space.otherInfo}"
                       class="form-control" type="text">
            </div>
        </div>
        <div class="form-group" style="margin-top: 80px">
            <div class="col-xs-3 col-xs-offset-5">
                <button type="submit" class="btn btn-primary">提交</button>
            </div>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="js/appjs/animal/space/edit.js">
</script>
</body>
</html>
